package com.csc.constants;

public class Constants {
	public static final String TRANSACTION_STATE_REJECTED = "Rejected";
	public static final String TRANSACTION_STATE_PENDING = "Pending";
	public static final String TRANSACTION_STATE_APPROVED = "Approved";
	
	public static final String TRANSACTION_TYPE_ADDFUNDS = "Add Funds";
	public static final String TRANSACTION_TYPE_WITHDRAW = "Withdraw";
	public static final String TRANSACTION_TYPE_TRANSFER = "Transfer";
	
	public static final String USER_SUPPORT = "Support User";
	public static final String USER_ADMIN ="Admin User";	
	
	public static final String ACCOUNT_STATE_ACTIVE = "active";
	public static final String ACCOUNT_STATE_REMOVABLE = "removable";
	public static final String ACCOUNT_STATE_NEW = "new";
	public static final String ACCOUNT_STATE_DISABLE = "disable";
	
	public static final String SIMPLE_FORMAT_DATE="yyyy-MM-dd hh:mm:ss";
	
	public static final String ACCOUNT_TYPE_DEPOSIT = "Deposit";
	

	public static final String ERROR_PARSE_INT = "+ Transaction id must a number<br>";
	public static final String ERROR_TRANSACTION_NOT_FOUND = "+ Transaction not found<br>";
	
	public static final String ERROR_TRANSACTION_TYPE = "+ Transaction type format not valid, it must like 'Add Funds' or 'Withdraw' or 'Transfer'<br>";
	public static final String ERROR_TRANSACTION_STATE = "+ Transaction state format not valid, it must like 'Pending' or 'Approved' or 'Rejected'<br>";
	
	public static final String ERROR_TRANSACTION_STATE_NOT_PENDING = "+ Transaction is proccessed<br>";
	
	public static final String ERROR_USER_SUPPORT_NOT_ROLE = "+ User support who apply this transaction hasn't role a supporter<br>";
	
	public static final String ERROR_ADDFUNDS_ACCOUNT_NOT_ACTIVE = "+ Add funds account not active<br>";
	public static final String ERROR_WITHDRAW_ACCOUNT_NOT_ACTIVE = "+ Withdraw account not active<br>";
	public static final String ERROR_SENDER_ACCOUNT_NOT_ACTIVE = "+ Sender account not active<br>";
	public static final String ERROR_RECEIVER_ACCOUNT_NOT_ACTIVE = "+ Receiver Account not active<br>";
	public static final String ERROR_RECEIVER_ACCOUNT_NOT_FOUND = "+ Receiver account not found<br>";
	
	public static final String ERROR_AMOUNT_TRANSFER = "+ Amount transfer must greater than 0<br>";
	
	public static final String ERROR_DATE_TIME_CREATED = "+ Transaction create date not valid<br>";
	public static final String ERROR_BALANCE_FOR_WITHDRAW = "+ Withdraw account not enough balance for withdraw<br>";
	public static final String ERROR_BALANCE_FOR_TRANSFER = "+ Sender account not enough balance for transfer<br>";
	
	public static final String ERROR_SAME_ACCOUNT_TRANSFER = "+ Can't tranfer same account<br>";
	
	public static final String ERROR_TRANSACTION_APPROVED = "+ Transaction was approved<br>";
	public static final String ERROR_TRANSACTION_REJECTED = "+ Transaction was rejected<br>";

}
